package com.yz.group1.group_1.service;

import com.yz.group1.group_1.entity.UserBook;

import java.util.List;

public interface UserBookService {
    UserBook createBooking(UserBook userBook);
    boolean cancelBooking(Long bookingId);
    List<UserBook> getPatientBookings(Long patientId);
    List<UserBook> getDoctorSchedule(Long doctorId, String date);
    UserBook getBookingDetail(Long bookingId);
}